package com.mysum.hessian;
import java.io.Serializable;
import java.util.Date;

public class UserInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	private int age;
	private String name;
	private Date birthday;
	
	public UserInfo(int age, String name, Date birthday) {
		super();
		this.age = age;
		this.name = name;
		this.birthday = birthday;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	@Override
	public String toString() {
		return "UserInfo [age=" + age + ", name=" + name + ", birthday=" + birthday + "]";
	}
}
